package com.xirui.service;

import java.util.Date;
import java.util.List;

import com.github.pagehelper.PageInfo;
import com.xirui.bean.Dormitory;
import com.xirui.bean.Floor;
import com.xirui.bean.Record;
import com.xirui.bean.User;

public interface DorService {

	User login(User user);

	PageInfo<Record> YHlinked(Integer pageNum, Integer uid);

	Record selectR(Integer uid);

	PageInfo<Dormitory> GLlinked(Integer pageNum, Dormitory dor);

	List<Floor> selectF();

	Record selectR2(Integer did);

	List<Floor> liandongF();

	List<Dormitory> liandongD(Integer fid);

	List<User> selectU();

	void updateOutTime(Integer uid, Date date);

	void addR(Integer uid, Integer did);

}
